<div class="row">
    <div class="col-sm-12">
        <form id="formid" name="form" class="form-validation" action="javascript:void(0);">
            <div ng-transclude></div>
            <button class="btn m-b-xs w-xs btn-primary btn-rounded"
                    ng-if="$ctrl.saveShow" 
                    ng-click="$ctrl.save()"
                    ng-disabled="form.$invalid">
                    保存
            </button>
            <button class="btn m-b-xs w-xs btn-default btn-rounded"
                    ng-if="$ctrl.backShow"
                    ng-click="$ctrl.back()">
                    取消
            </button>
            <input id="myform" type="submit" ng-show="false"/>
            <span ng-show="false">{{$ctrl.invalid = form.$invalid}}</span>
        </form>
    </div>
</div>